package com.kb.erp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("AttCardData")
public class AttCardData {
    @TableField(value = "EmpNo")
    private String empNo;


    @TableField(value = "YYMMDD")
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date yymmdd;

    @TableField(value = "CardTime")
    private String cardTime;
    @TableField(exist = false)
    private String cardDate;
}
